package cn.wolfcode.wolf2w.service;


import cn.wolfcode.wolf2w.domain.StrategyComment;
import cn.wolfcode.wolf2w.query.StrategyCommentQuery;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * 用户服务接口
 */
public interface IStrategyCommentService {
    /**
     *存储数据
     * @param strategyComment
     */
    void save(StrategyComment strategyComment);

    /**
     * 修改数据
     * @param strategyComment
     */
    void update(StrategyComment strategyComment);

    /**
     * 删除数据
     * @param id
     */
    void delete(String id);

    /**
     * 查询
     * @param id
     * @return 返回StrategyComment对象
     */
    StrategyComment get(String id);

    /**
     * 查询所有对象
     * @return
     */
    List<StrategyComment> list();


    Page<StrategyComment> query(StrategyCommentQuery qo);


    void addComment(StrategyComment comment);


    void commentThumb(String cid, String uid);



}

